<?php
/*
$passPort   = '白河愁';//trim($this->input->get_post('passport'));
$nickName   = '凌晨的风';//trim($this->input->get_post('nickname'));
$clientSign  = md5($passPort.$nickName.'qihun^#%tomweiqi');//trim($this->input->get_post('authsign'));md5($passPort.$nickName.config_item('CLIENT_AUTH_KEY'));
?>
<form method="post" action="http://tomduiyi.cn/user/api/nicknameReturn" target="_blank">
	<input type="hidden" name="passport" value="<?php echo $passPort;?>"/>
	<input type="hidden" name="nickname" value="<?php echo $nickName;?>"/>
	<input type="hidden" name="authsign" value="<?php echo $clientSign;?>"/>
	<input type="submit" value="提交"/>
</form>
//*/
?>



<?php

$time = time();

$userName    = '白河愁';//$this->input->get_post('u');
//$userName    = '';//iconv(mb_detect_encoding($userName, array('ASCII', 'UTF-8', 'GB2312', 'GBK', 'BIG5')), 'utf-8', $userName);
$passWord    = '198155';//$this->input->get_post('p');
$loginType   = '1';//$this->input->get_post('l');  //1 昵称 0通行证
$RequestTime = $time;//$this->input->get_post('d');
$signKey     = md5($passWord.'qihun^#%tomweiqi'.$time.'010');//$this->input->get_post('v');
//$backUrl     = $this->input->get_post('b');
$sign        = md5($passWord.'qihun^#%tomweiqi'.$time.'010');//md5($passWord.config_item('CLIENT_AUTH_KEY').$RequestTime.'010');
?>
<form method="post" action="http://tomduiyi.cn/user/api/login" target="_blank">
	<input type="hidden" name="v" value="<?php echo $signKey;?>"/>
	<input type="hidden" name="u" value="<?php echo $userName;?>"/>
	<input type="hidden" name="p" value="<?php echo $passWord;?>"/>
	<input type="hidden" name="l" value="<?php echo $loginType;?>"/>
	<input type="hidden" name="d" value="<?php echo $RequestTime;?>"/>
	<input type="submit" value="登陆"/>
</form>